package com.diors.game.engine.arpg.npc.model;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * NPC出生点model
 * @author	darren.ouyang <ouyang.darren@gmail.com>
 * @date	2013-10-26
 * @version 1.0
 * @copyright Copyright (c) 2013, darren.ouyang
 */
@XmlRootElement(name = "born")
@XmlAccessorType(XmlAccessType.FIELD)
public class NpcBornModel 
{
	
	@XmlAttribute(name = "scene_id")
	private int sceneBaseID;
	
	@XmlAttribute(name = "npc_id")
	private int npcBaseID;
	
	@XmlAttribute(name = "x")
	private int x;
	
	@XmlAttribute(name = "y")
	private int y;
	
	private NpcModel npcModel;

	public int getSceneBaseID() {
		return sceneBaseID;
	}

	public int getNpcBaseID() {
		return npcBaseID;
	}

	public int getX() {
		return x;
	}

	public int getY() {
		return y;
	}

	public NpcModel getNpcModel() {
		return npcModel;
	}
	
	public void setNpcModel (NpcModel npcModel)
	{
		this.npcModel = npcModel;
	}
	
}
